package com.easybuy.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.easybuy.entity.Brand;

public interface BrandDao {
     public List<Brand> getList(@Param("name") String name,@Param("first")int first,@Param("maxResult")int maxResult);
     
     public int getCount(@Param("name") String name);
     
     public void add(Brand brand);
     
     public Brand getById(int id);
     
     public void update(Brand brand);
     
     public void delete(int id);
}
